package com.lyrcsoft.springmvc.init.handler.adapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author fujc-dev@qq.com
 * @version 1.0
 */
public interface HandlerAdapter {

    /**
     * 判断handler是否适配当前适配器
     */
    boolean supports(Object handler);

    Object handler(HttpServletRequest request, HttpServletResponse response, Object handler);
}
